﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using OpenSoftStore.Orm.Model;

namespace OpenSoftStore.Client.UIL.ManageMember
{
    public partial class MemberAddWindow : Form
    {
        public MemberList UcMemberList;
        public T_Member Tmember;
        public MemberAddWindow()
        {
            InitializeComponent();
            Tmember = new T_Member();
        }

        public void GetMember(string id)
        {
            memberAdd.UcMemberList = UcMemberList;
            memberAdd.GetMember(id);
        }

        private void MemberAddWindow_Load(object sender, EventArgs e)
        {
            memberAdd.UcMemberList = UcMemberList;
            memberAdd.WndMemberAdd = this;
        }

        private void memberAdd_Load(object sender, EventArgs e)
        {

        }
    }
}
